<?php
    $sqllink="select * from friendlink order by id asc";
    $rslink=$db->getData($sqllink);
?>
<div class="footer ">
	<div class="footer-hd ">
		<p>
			
			<a href="index.php">商城首页</a>
			<b>|</b>
			<a href="search.php">产品中心</a>
			<b>|</b>
			<a href="person/index.php">个人中心</a>
		</p>
	</div>
	<div class="footer-bd ">
		<p>
		    <?php foreach ($rslink as $v){ ?>
			<a href="http://<?php echo $v["url"]; ?> "><?php echo $v["title"];  ?></a>
			<?php } ?>
		</p>
	</div>
</div>
